Added cubic test, fixed some bugs
Improved linsearcher, but not yet done