Computes a smooth canonical curve of genus g over a field of characteristc p. The construction uses matrixfactorizations and we catch the steps which do not work out for very small characteristic. The whole construction is based on the Macaulay2 package "MatFac15"