cleaned up kmerCalculator, it was really messy