added replace_mul_fpowf2 for the tangent addition formula;
added tests