setup maxwell dist function (todo: added scipy)
added harge calculations and speed