Fixed data point calculation problem with cached file and closed open cache file handles. #121 #132