Man in court accused of Torphins ATM raid