fix InexactError()
refactor Chiou 2000
fix power normalization
fix minus sign in PML
add Stern's formula