ndarray cleanup

NDArrayDouble's code removed, "magic" is now in ndarray-magic