Bug fixes, memory leaks plugged and enumerations for complex integers