[MRG] OPT: Prevent iterating across n_features twice

In the `cd_fast.pyx` code, to find X'*residual. we iterate twice which is unnecessary.