Direct calculation of optical rotatory strengths