change square to math