Matlab shape helper functions (rebased onto develop)



This is the same as gh-797 but rebased onto develop.

----

This PR creates 
- a series of helper functions to create common Shape objects,
- a generic setShapeCoordinates() function to set z, c, t,
- a series of unit tests for each new function.