tones of changes

done with parts 0-3

calculations, advanced indexing, and misc numpy stuff, extra libs,
external resources