Added loging of composition profile

Here's the patch to enable per-analaysis-timestep logging of composition profiles
J