initialised version to 3.2.0
updated spherical code to deal with pure functions