Removed Complex class because it was ridiculously slow