added ising.c, matrix.h, utility.h