Updated phpdoc target
Updated phpdoc
Added testcases for density, gravity profile and rotate
Fixed bug in removeProfile
Updated documentaion