Fix issue with BMP085.js in 32-bit int's. 

Also packed the code in a little tighter in the ugly calculations section. More can still be done there, but this should save a few memory units