JAL-2795 more matrix implementations