test my scilab verion of cg method