Fixed offset issue in makeMIP().
Added FieldGroup class.