An essay towards a theory of apparitions by John Ferriar