Scalacheck + refactor
Refactor + new tests + a more general trait
Added new tests + costs back + sanity scalacheck + function stubs
generating product sequences from formulas
Basic prototype seems to be working
Changed tree generator to have literals more frequent (so that the plans aren't insanely deep and large)
fixed some stylecheck complaints
Replaced Arrays with IndexedSeqs
refactor of cost and split markers names
Nil instead of List and a++(b++c)
Better matches for the combining classes
Added an evaluate function stub + tests
Evaluation function - will be used for evaluating randomly generated plans
NilOrList is called unflatten now
names instead of _1, _2... used for MatrixFormulas etc.
Returning cost for optimize
Changed costs to double
generating simple random product sequences
ScalaCheck of optimized plans vs random plans
ScalaCheck - more general generation, but something is going wrong with the sparsity