Electromagnetic cloaking in convex and concave media with surface modelled as a parameterised function.