mexican hat potential working