add vector implementations of squashing fucntions