Revised functor package. Added arithmetic means.