Ported all of the compound lens system from JAP paper. Still probably needs cleanup and tweaking