Changed GetNextWorkRequired function to correctly select difficulty algorithm
based on Block Height.