Adding in RyamBaCo's working version

See: https://monogame.codeplex.com/discussions/520341#post1327482