Improved patch templates
Added LagrangeInterpolator