Implemented orientation support, added basic calculations, bind shim.