Fixed bug in V812 code and added better commenting to others