Fixed an issue where the framesize would go to 0

Also made it so that the data loading function couldn't have a stridesize less than 1