Added fread functions for different integer widths
Added read from file support for different numeric type sizes
int16 and int24 now use a common read method