William Cullen — British Army officer and Resident in the Kingdom of Travancore and Cochin (1785–1862)