ENH: Add raw.estimate_rank() function
FIX: Off-by-one error
FIX: Adding tests
ENH: Simpler calculation
STY: Better commenting
FIX: Remove unnecessary option
Merge pull request #444 from Eric89GXL/raw-rank

ENH: Add raw.estimate_rank() function