Inverse only needs to be calculated once.