Update conformalPrediction.py

Fixed a bug into cosineSimilarity function