Update and bug fix

Added new gridding technique. and fixed bugs related to vector imports.