Add makefile for matrix-repository.py
Made d_negative_one_power and s_negative_one_power public in mr_util