Sample intervals greater than 1000 record data, data point count division error fixed.