Fixed a bug in the OptFitLeastSq class that could cause a segfault whe
it encountered a short block. This can occur at the end of the input
data.