The philosophy of necessity : or, The law of consequences; as applicable to mental, moral, and social science