added method to create surface and set cartesian coordinates on a structure