Line 333 of the matlab code