Calculate proportions slightly more nicely