fix a bunch of deprecation warnings
* np.bool, np.int, np.float, np.complex and np.object are deprecated with numpy 1.20 * DOFArray.from_list is deprecated for a while too
* np.bool, np.int, np.float, np.complex and np.object are deprecated with numpy 1.20 * DOFArray.from_list is deprecated for a while too