Apparently we use the numpy C API in the RDF/CDF vector classes, which causes deprecation warnings with numpy 1.2. This patch updates this code to use current functions in numpy 1.2.
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/4205