Frame: turn x into a 2d vector
Frame: make box a vector
make x and box back to rvec and matrix, respectively