changed regulator and added filtered value for distance sensors NOT TESTED
merge, resolved conflict