stability checker, linear system creator, sgd, condition estimation

fixed the FIXME