Remove static methods
Use Math.pow for exponential function