Fixed matrix decomposition for firefox