add support for focal length, flatten the matrix list etc