added some stuff on calling MatLab from the command line with no GUI and also using a Here Document