Rupee logs its best single day gain in almost four months