Changed: Calculate() now returns a double value instead of a string.