Finished statistics part. Not Tested.
Created tests for NSData categories.