Updated to Support Xamarin Studio 5.0

Updated to Support Xamarin Studio 5.0

Changed calculations for iOS and Android versions