Spped up SSAO

Avoid using cos/sin too much, use sum of cos/sin formula instead.