Added the support for all three MF types.
Still a lot need to be done w.r.t normal curve.