Made member values of rational and complex const. It may aboid some problems.
Replace const& semantics by value semantics. References are useless at compile time.