Getting close to invseqK
Merged the changes to std.v from invseq branch
Merge branch 'master' into invseq