Tentative first attempts to adapt to the new numpy 1.7 C API (see fmadd.c)