Adding modified Vermeer algorithm to repository.
Fixed a bug in regularization that has to do with taking into account Md (rather than M).