extract_fpca_scores function

Extract FPCA scores