Add convenience functions for inverse and solve