Fixed SecantMethod and add some amendments