Fixed broken piecewise validation
Changed styling for piecewise
Added tests, up to ~95% coverage
Started documentation, still needs a lot of work