(function from pyomo.contrib.pynumero.interfaces.utils)
pyomo.contrib.pynumero.interfaces.utils
This function takes a symmetric matrix that only has entries in the lower triangle and makes is a full matrix by duplicating the entries