Banach algebras of weakly differentiable functions