moved the creation of 'testPts' to elaborate_example.R.
created routines to build h, and asssociated unit tests.