added power function, added maximum function, added parameter function.