Update the Hypermatrix package code 

Added some new functionality