I've had some problems coming up with a z-axis design, so ended up using
this type. Not my idea, but damn good.
To be honest though, I am finding it difficult to accurately build stuff from MDF, if you have the money, get linear bearings from e-bay.