Deprecated This was part of an early PhD project, and I don't maintain it anymore, use at your own risk.