Some fixes and corrections

Corrected R2 map function out range in the control.ino
Added comments to ReadInputs section in the hwio.ino