fix bug in returned alpha
make sure alpha coeff are positive
add new custom matrix kernel