royalty calculator for authors