Fixed errors in the IMPLICIT code.