Working on the Haloize function

Working on the Haloize function (now broken out into separate notebook
rather than the pycse examples notebook)