Robust PCA implementation and examples