fixed quadratic printing; added qcp example