Rename S -> s, M -> m

Preferring lowercase for member names seems sensible.
Make tuna_stats_obs inline
Initial draft of tuna_kernel contents