Extension of John Cremona's ECLIB code to allow a quadratic character