added .rb files for defensive statistics

Submitting pull request for Matt.