Simulation and Modelling of near Infrared Spectroscopy (NIRS) as Brain Monitor