Added pm options for calculator and added a restriction to identifier lengths for calculator.