fix particle helper

fix a reg allocation bug; 
add support for multiple return value to support function 'angleVec' ( not useful since we have sin/cos );