fixed zoom and added import txt

fixed a problem where the zoom was breaking when there weren’t more
than 2 data points in the window. I also added the ability to import
text files instead of just velocity structures.