Currently I am working on the LFOM algorithm in MathCAD. I am in the process of writing a new algorithm that will approximate a line by minimizing the Mean Square Error of flow checked at each level.