getting weird errors in the test for changing box size.
Fixed the bug. Used orientation instead of dimension for the span()
function in the boundary class.
removed misc tmp debug statements