Add Camera class and proper work with matrix.