Can now compile script

Can compile script which includes matsym functions now
See compilation_notes.txt for details