order=6 added for reciprocal calculation. No optimization done. Passes test case.