Playfair the Elder, James @ Melville Castle