Added rotated mesh support, moved some comments to remarks