Code developed for the Analysis of MSSD Detectors