Added prism support for product optics. Added non-case-class lazy knot tying test.