Fixed matrix functions