The function constructs a general curve E of genus 10 and degree 13 in P4 with randomCurveGenus10Degree13InP4 and induces a matrix factorization on a random supporting cubic hypersurface, which is then used to construct a curve of genus 12 and degree 14. This construction is proven to be unirational