Halstead unit tests merge
All of the halstead unit tests have been reviewed. Almost all of them were failing and they have been changed to succeed now. Also had to edit a few typos and incorrect functions called within the actual halstead code functions for the testing functions to return expected values, this was mostly the other group accidentally calling the wrong functions or making typos with similarly named objects.