Find F and Phi matrices in Matlab for AMA

Made Phi and F Matrices.