Hard Limits configured for active high.

Added the use of homing_dir_mask to homing_cycle