Implemented Weierstrass function #16