added power function to wdcplot formulae
check if token is null during handshake to avoid exceptions