Sure @dmartin. I wrote 3 classes to use for client-side matrix and pose transformation math in Java. Built it from the links above. Hopefully the comments are able to direct you further.
Matrix class for standard matrix manipulation
Pose class that reimplements pose_trans()
and other functions
Axis-Angle class to help with converting and using rotation-vector style notation