Added safety check in the Position object.

Added safety checks in the DeltaRobotModule.
Fixed some bugs.