Fixed Figure reference issue

Now Figure 1 points to figure 1...and so on.