scalefactor fixed, testing code added
standard cnstr extended
default value for cnstr_rhs