Fixed findgroundstate method for Polar1D coordinates.