Bug fix of fc4 calculation of C implementation