Minor bug fix attempts

Techplacement has a bug relating to the referencing of numpy.inf. It
does not seem to occur every time, but occassionally. Still attempting
to find it.