Generalized table generation. Cleaned SmogCalpha