simplified and cleaned up surface splines