added optimization example, updated to Spark 1.1.0