basin hopping algorithm implemented with amber energy calculation