Novak Djokovic says he was more mentally prepared than ever after defeating Roger Federer to win 2014.