minor bug fixes in PSI (perceptual speed index) code to handle corner cases
minor bug fixes in PSI (perceptual speed index) code to handle corner cases

Matthew Mok (Data Science and Machine Learning group @ Instart Logic)
pahammad/visualmetrics,WPO-Foundation/visualmetrics