Replaced custom Math with generic Sylvester library.