Adding FASTSIM code (lost during the merge with VMC)