Adjusting a few parts in where calculations are done.
Removed <vector> and <cstdlib>.