Simplified math, added comment.