Calculating the cost of cyber-risk