Allow getDimensions to be async. Fixes #13
Release 1.4