Refactored rotational calcs, added CSS