changes made
1 recustomize the buttons to Ejs newer types with graphics
2 remove BG and add into the main frame
3 redesign equations to work for 2 massess of different length