Got resistor drawing math done. Could still use cleanup