add more descriptive basinhopping termination message and fix linspace incorrectly adding points that were out of bounds.