A Refinement of the GrĂ¼ss Inequality and Applications