Calculate Complex Numbers