updated calculateFrameDelay function to support ProMotion Display
updated calculateFrameDelay function to support ProMotion Display

Potential solution to issue #164

kirualex/SwiftyGif,kirualex/SwiftyGif