Modeling The Curvature Of A Ferrofluid Interface Using A Height Function Method