fix to issue #38 failure to solved sampled cartesian points

This PR addresses issue #38 
@shaun-edwards please review