calc with buttons except M's working