Importing Endian issue

Fixes #4