Input fields regexp update

Input field now accept both negative and positive floating point numbers and return their sum.