fixed bugs in getHRTF()