only using reflection dir as random parameter
fix to mi computation
using now own method of computing mi