Functional Principal Component And Factor Analysis Of Spatially Correlated Data