Merge pull request #13 from markhamstra/shark-0.9-csd

Merging AMPLab commits
Apply https://issues.apache.org/jira/browse/HIVE-3455 to fix correlation calculation.