Added --no-check-certificate option to wget command in calculate_version_num()
for backwards compatibility with older versions of wget.
Thanks to Bharath for finding that one!