conversion for crystal coodrinates