Working on inverse intensity calculation.