fixing advanceN (almost complete)
Merge branch 'master' into extrinsic

Conflicts:
	Coq/Extraction/MonadExamples.hs