Style changes
Changed indentation level of code
Added real type manipulation