tweaks to the SparkLR example

I've been using `spark.examples.SparkLR` for performance testing. Just passing along some enhancements to the class.