improve z and s functions#1

1 job for algorithm in 4 minutes and 53 seconds (queued for 3 seconds)
Name Stage Failure
failed
tests Test There is an unknown failure, please try again
No job log