Adds pinhole camera routines