fixed sign on diagonal and dtilde