Revert "Changed all vectors to doubles"

This reverts commit 8b4cde8497a9ec0316a54e5a2a36bad3719fb848.