Propagate input header keywords; adjust regularization to avoid LinAlgError on some systems; Add a version number