Changed endianness of number storage to make life easier on the chipkit.