Fixes to inline math notation