Added quaterion support and CLI interface