Adding read sampling as function of coverage, fixing error