fix card size calculation. closes #77
Merge branch 'master' into usb