fixed some constants for data reading so that it would work with larger data
sets.  I really need to find a way to compile 64bit on windows though!