I fix the current state of the HMatrixUtil module because I am going to change it's searchVector function right now so that it would provide the selector function with element indexes.
I also changed how the sampleVectors value is being generated. Previously it used |> operator, but now it uses the fromList function.
There are other minor modifications to this module.