refactored to use a DistributedContext instead of raw SparkContext
merging changes made on to run a large dataset through itemsimilarity on the cluster