fixed some minor issues with e_matrix