add core frequency estimator
fix clock freq selector
cassia works now