normalise_trace function

Scale symmetric matrices to have trace of one