Fixed the ackley function.