nlpca package
article
code