stability checker, linear system creator, sgd, condition estimation

Do we need this one linear system version ? (i.e. do we use this anywhere ?) If not, lets just keep the other one to avoid duplicated code