Newfrozen2d 2

This replaces pull request #36.  It includes only the changes for frozen 2d potentials