first draft of own mutual info function