Fix euler number bug for scipy-0.13