Merged pull request to incorporate splines (thanks) , plus a few other little fixes in the past few days.