Adding missing C instantiations of ScaleTrapezoid and fixing several mistakes in the sparse implementations of MakeSymmetric and Transpose