Ip improve

Compatibility checks for inner product classes