Add optimx to depends. Fix midas_r_fast to be faster than ordinary
midas_r. The name will have to change.