Principles of Cause and Effect