added method to check if vector inside rectangle.
updated goals.