Finally fixed the for loop error

The problem was we were indexing rawVoltageData with an 8bit int instead
of  a 16bit int, this was causing casting problems since rawVoltageData
is an array of uint16.

Also fixed formatting in other files and removed commented out line in
can_init()