Text this: Monte Carlo simulation of interferometric measurement and wavefront shaping under influence of shot noise and camera noise