Fixed implementation of negafib