Hmm. Yea looks like it could end up with a division by zero in that case. I think we should fix that function thou.