A computation of the three-dimensional J-Integral for elastic materials with a view to applications in fracture mechanics