Documenting Profiler

Adding documentation for the profiler.