Adding some general functions to the HMSC github, along with some pedigree specific functions.