Added rotation to libkoki utils