Various algorithms written in Scilab