MM = koszulExtension(FF,BB,psi1,ff)
Implements the construction in the paper "Matrix Factorizations in Higher Codimension" by Eisenbud and Peeva.
The object koszulExtension is a method function.