Additional useful algorithms that can be used with spark.