rapid cramer computation