Gary Anderson produced an important 101 checkout to break Madars Razma in their second round World Championship clash.