Added meanProfile method and documentation