Update the CCA implementation to handle partial-rank inputs.  Closes #91.