Refactory.

Requirements deviances values now are double type.