Bugfix and additional rotation angle output.