Removed unnecessary imports.
Changed computation error.
Removed old useless method
Fixed a nullpointerexception
Fixed an IndexOutOfBounds due to calling list instead of intended function.
Made severe improvements to the call of the new algorithms