Fixes digitize

Add digitize() to fixes for old bumpy versions @agramfort @Eric89GXL
It's only for integers, 1e-5 should be safer.