replaceDown function

Replace matrix values triangular lower part and by band for the upper part.