Add eval function in the MF type

The evaluation functions are now inside the MF type
Change min max to minimum maximum

Since min and max functions are deprecated, so changed it to minimum and
maximum
Fix issue in maximum minimum function