updated to x64 and new mpir

Updated mpir to 2.6.0.
Upgraded code to be x64 compilant.
Still contains some bugs... to be fixed.