Added diode

Diode added for reverse battery protection.  Also optimized placement of
components a little bit.