fixed friction coefficient calculating
fixed bug with initial pendulum visibility after reset