curves script now works for general no. fields + better isogeny-class finding for CM curves