James Bruce of Bankton, Midcalder