Improved methods for studying the mechanical properties of biological systems with random length changes