The secret of great cathedrals is that their proportions conform to cosmic laws, ‘shaping’ people who spend time in them.