Change all needed variables types to double.