matlab simple chemical m-files