implemented tofsin, clarified cocosine comment