Implemented independent profile for general rotations.

Signed-off-by: Konctantin <gawrilyako@gmail.com>