federer beats murrary to seal number one position