Utils to calculate target and difficulty from the compact form known as 'bits'