Minor comment and formatting edits
(#430)
Switch calculate_maxk from min_maxk to mak_maxk
(#430)