Proper argyll-cms formula

Since I didn't want to rely on a binary that's way out-of-date, I wrote up a proper formula. Please let me know if there are any issues.