Potential energy surface determinations for nonrigid molecules: Application to acetone