correcting quadgk initialization warning