Create writemoment2.pyx