Application of natural law theory to moral problems