corrected some wiring errors around the measuring amp