Properly calculate memory

The memory requirements passed to docker are being calculated incorrectly. Megabytes to bytes is 2^20, not 2^30.
Merge pull request #24 from davidhoyt/patch-1

Properly calculate memory requirements