Fix: linalg.cho* fails for most input data types.

Due to a typo in `cho_solve` and `cho_factor`, the only accepted data types are `np.float64` and `np.complex128`.  This PR fixes this.