Fixed Typos

Fixed some types, code will now execute on kernel without spitting
errors. Not sure about output though...