Add the function to perform funcPCA and clustering

The result is not good though…I thought it might be able to cluster
curves of similar shapes together but it turns out not very good...