Corrects bwd_sqrt.
Fixes issue #87.