Fixed bugg in calculateMoveDirection and moved call to method from set to calculate