Added an error check for when Instrumental Profile given is not an odd-sized array