stability checker, linear system creator, sgd, condition estimation

Yeah, fixed. Was moving around code a little. But comment is now back in the right position.