newton (scala)
better matcher for double