This one could be a source of error:
velv = -jump_height;
because velocity is a distance traveled over time but a jump height is just a distance.