Fixed issue #169 Removed old and unused code from ec.h, removed __init_last, unused (from mrspuratic)