Fixed square function for double and incremented by .1