Close #166: Implement wall-from-matrix operator, unit test, cleanups