Theory Of Machine Consciousness