changed function name to camelCase
added subband centroid support
updated debug messages