Added SE2 utility class and refactored the walk engine to use it.