Fixed minor bugs to enable execution of kmeans, nnmf and pagerank on the local executor