updated use of alpha functions as discontinuous
updated use of alpha functions