tests included for Neldre Mead algorithm.