Found another \beta, guessing you intended beta to be the inverse bandwidth, and not gamma