Needle path planning module