reverted fix in angle(), adapted log() fct