Simple sampling implementation for cartesian points.

This PR will have to be updated one #33 is accepted.  Also, this PR conflicts with #25.  This PR is simply to address a pressing need to perform sampling on Cartesian points.
This feels a bit confusing but my interpretation of this is that the joint pose array is being used to hold the cartesian data, if this is the case then will the result be a cartesian pose ?