Extract a private temper fn.
Added just intonation, but it only properly works for ionian as major second to fourth is a wolf tone.