Updated mt-prime.c