Moving numpy to core