Python version of the matrix representation of the forward projector of AIRtools