Python3 support for ECOS module

Adding in python3 support.