Added function that returns the postive part of a vector