php classes for quantitative finance