Mirror works. Matrices (lines 257 to 274) might not be correct but it works.