switch cartesian/spherical function names and make them use length. still a tweak...