Added better support for cohen's d
- Added ability to specify sample type