Initial code commit.

All the mdarray code as it is.  some todos and documentation need to be
done, and the entire image/image processing lib needs to be put into
here.