Now X-limit and homing sequence works.
Added documentation.