Mapping Square Input to Circle in Unity 2017

Moving the player using the input from a keyboard of joystick is easy, though as soon as you start moving in a diagonal direction either using thumb sticks or pressing down two keys at once, you may notice the player will move faster compared to walking forward of sideways. Mapping to a circle can solve this issue.