Disabled all sample tests, added find minima function