Added opts argument to all stats calculations
Replaced 'sorted' parameter with :sorted option
Removed RUBY_VERSION hack from CSV parsing.
Tested under Rubinius 1.8 and 1.9 modes