calculate method linked to ENTER  key