Richard Roberts, Royal Anglesey Royal Engineers