added initialize to e_matrix.rb