Added methods for complex and logarithms