Changed Win32 Settings
Minor changes
Added phase calculation