- fixed an error from using the latest numpy version regarding missing Inf attribute (now it is inf, lower case)