Added auto-calc of 'a'.  Fixed many small bugs including cluster sizes in spherical coords.