Added function writeGStimFiles and .gitignore file.