add Rat.cpp
Merge branch 'master' of https://github.com/haijunsu/QC

Matrix.cpp has been fixed for C++11 and destructor has been fixed too.