Formula for buffon's needle pi was upside down. Added correction for line thickness