Updated code to use pragma once and added new function for packing floats.
xcode crap