Small changes for formatting
changed for new mipcalcfunctions