Added help comments. Moved stream read/write from cin.h to cindata.h
Added profiling code
Removed profilling switch
Merge branch 'testing'