Updated Doc strings, cleaned up exponentiation