Added failure for invalid data. Added PyGaze methods.