Sonic log prediction in carbonates