add test scripts for NNLS in spark and matlab